package com.mxpio.erp.common.technology.service;

import com.mxpio.erp.common.technology.entity.ProdTecRoutProcTechDrawingSignIn;
import com.mxpio.erp.common.technology.entity.ProdTecRoutProcTechDrawing;
import com.mxpioframework.common.vo.Result;
import com.mxpioframework.jpa.query.Criteria;
import com.mxpioframework.system.service.BaseService;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface ProdTecRoutProcTechDrawingService extends BaseService<ProdTecRoutProcTechDrawing> {

    @Transactional
    Result<ProdTecRoutProcTechDrawingSignIn> signInApply(ProdTecRoutProcTechDrawingSignIn prodTecRoutProcTechDrawingSignIn);

    List<ProdTecRoutProcTechDrawing> list(Criteria criteria);

    Result<ProdTecRoutProcTechDrawing> signOutCancle(String id);
}
